package com.three.iot.rest.vo.api;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import java.util.List;

@Getter
@Setter
@ToString
@ApiModel(value = "用户创建实体 UserCreateVo")
public class UserCreateVo {
    @NotEmpty(message = "登录号不能为空")
    @ApiModelProperty(value = "登录号", required = true)
    private String userNo;
    @ApiModelProperty(value = "姓名", required = true)
    private String userName;
    @ApiModelProperty(value = "昵称", required = false)
    private String nickName;
    @ApiModelProperty(value = "联系方式", required = false)
    private String tel;
    @ApiModelProperty(value = "登录密码", required = false)
    private String loginPass;
    @ApiModelProperty(value = "邮箱地址", required = false)
    private String emailAddr;
    @ApiModelProperty(value = "联系地址", required = false)
    private String contactAddr;
    @ApiModelProperty(value = "所属公司", required = false)
    private String compName;
    @ApiModelProperty(value = "是否管理员 0:否 1:是", required = false)
    private String ifAdmin;
    @ApiModelProperty(value = "设备编号列表", required = false)
    private List<String> iotIdList;

}
